package cn.ecnu.search.model;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
public class AuthorModel {

    @Field(type = FieldType.Keyword)
    private Integer authorId;

    @Field(type = FieldType.Keyword)
    private String authorName;

    @Field(type = FieldType.Integer)
    private Integer sort;
}
